<?php

//include_once "clase.php";
$action='index';
if(isset($_POST['action']))
{$action=$_POST['action'];}


$view= new stdClass(); 
$view->disableLayout=false;


switch ($action)
{
    case 'index':
        break;
  
    default :
}


if ($view->disableLayout==true)
{
    if(isset ($view->contentTemplate))
        include_once ($view->contentTemplate);
}
else
{
        include_once ('templates/layout.php');
} 

